package com.employ.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.employ.admin.entity.Menu;
import com.employ.admin.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    @Select("SELECT * FROM menu")

    List<Menu> findMenus();

}
